package ink.xiaobaibai.common;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 延长天数bo
 * @author: 小白白
 * @create: 2021-06-09
 **/

@Data
public class MonthlyAddDayBo {

    @NotBlank
    private String orderId;

    /**
     * 先notnull在大小
     */
    @NotNull
    @Min(1)
    @Max(30)
    private Integer day;

    @NotNull
    @Length(max = 255)
    private String reason;

}
